package com.jxust.vhr.dao;

import com.jxust.vhr.security.config.SelfUserDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author tyeerth
 * @date 2020/12/18 - 15:48
 */
@Mapper
public interface UserMapper {

    /**
     *
     通过username查询用户
     */
    SelfUserDetails getUser(@Param("username") String username);

}